from WIFI_V6 import run_web_server

def main():
    # 启动Web服务器
    run_web_server()

if __name__ == "__main__":
    try:
        main()
    except Exception as e:
        print(f"主程序异常: {e}")
        machine.reset()
